package org.microdream.easy.deploy.po;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the d_deploy database table.
 * 
 */
@Entity
@Table(name="d_deploy")
@NamedQuery(name="DDeploy.findAll", query="SELECT d FROM DDeploy d")
public class DDeploy implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	@Column(name="app_code")
	private String appCode;

	@Column(name="container_type")
	private String containerType;

	@Column(name="curr_version")
	private String currVersion;

	@Column(name="deploy_code")
	private String deployCode;

	@Column(name="deploy_path")
	private String deployPath;

	@Column(name="deploy_state")
	private String deployState;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="deploy_time")
	private Date deployTime;

	@Column(name="server_code")
	private String serverCode;

	@Column(name="server_user")
	private String serverUser;

	public DDeploy() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAppCode() {
		return this.appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}

	public String getContainerType() {
		return this.containerType;
	}

	public void setContainerType(String containerType) {
		this.containerType = containerType;
	}

	public String getCurrVersion() {
		return this.currVersion;
	}

	public void setCurrVersion(String currVersion) {
		this.currVersion = currVersion;
	}

	public String getDeployCode() {
		return this.deployCode;
	}

	public void setDeployCode(String deployCode) {
		this.deployCode = deployCode;
	}

	public String getDeployPath() {
		return this.deployPath;
	}

	public void setDeployPath(String deployPath) {
		this.deployPath = deployPath;
	}

	public String getDeployState() {
		return this.deployState;
	}

	public void setDeployState(String deployState) {
		this.deployState = deployState;
	}

	public Date getDeployTime() {
		return this.deployTime;
	}

	public void setDeployTime(Date deployTime) {
		this.deployTime = deployTime;
	}

	public String getServerCode() {
		return this.serverCode;
	}

	public void setServerCode(String serverCode) {
		this.serverCode = serverCode;
	}

	public String getServerUser() {
		return this.serverUser;
	}

	public void setServerUser(String serverUser) {
		this.serverUser = serverUser;
	}

}